﻿namespace TeaLightV5.Foundation.UX.Interfaces.Models
{
    public interface IEntityModel<T, TKey>
    {
        TKey Id
        {
            get; set;
        }

        void SetFrom(T entity);
        T GetEntity();
    }
}
